// vue.config.js
module.exports = {

    devServer: {
        proxy: {
            'web/api': {
                target: 'http://localhost:8888',
                ws: true,
                changeOrigin: true,
                pathRewrite: {
                    '^/web/api': 'api'
                },

            },
            'imgs': {
                target: 'http://localhost:8888',
                ws: true,
                changeOrigin: true,
                pathRewrite: {
                    '^/imgs': '/imgs'
                }
            }
        }
    }
}